package day5;


/**
 * @author oldliu
 * @since 1.0
 */
//智能机
public class MobilePhone implements TakePhone ,SateliteComm{
    private String brand;


    public void setBrand(String brand) {
        this.brand = brand;
    }

    public void call(String person){
        System.out.println("正在给"+person+"打电话");
    }
    public void sendSMS(String person){
        System.out.println("给"+person+"发短信");
    }
    @Override
    public void takePicture() {
        System.out.println(brand+"手机正在拍照。。。咔咔咔");
    }

    @Override
    public void callWeixin() {
        System.out.println(brand+"在打卫星电话。。。");
    }
}
